package com.aaa.service.impl;

import com.aaa.dao.AlbumMapper;
import com.aaa.dao.EmpMapper;
import com.aaa.entity.Album;
import com.aaa.entity.Emp;
import com.aaa.service.AlbumService;
import com.aaa.service.EmpService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AlbServiceImpl extends ServiceImpl<AlbumMapper, Album> implements AlbumService {
@Resource
AlbumMapper albumMapper;
    @Override
    public List<Album> selectAlbum(String aname) {
        return albumMapper.selectAlbum(aname);
    }

    @Override
    public List<Album> selectAlbumAll() {
        return albumMapper.selectAlbumAll();
    }
}
